package com.coder.bike.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.coder.bike.entity.Order;

public interface IOrderService extends IService<Order> {
    Page<Order> search(Page<Order> page, Order order);
    Page<Order> searchUnfinished(Page<Order> page, Order order);
    boolean save(Order order);
    boolean returnBike(Order order);
    long countViolation(String bikeNum);
    boolean returnDeposit(Integer orderId);
}